package com.ibeeking.found.msg.service.mapper;

import com.ibeeking.found.common.base.BaseMapper;
import com.ibeeking.found.msg.service.common.dos.WxMpMsgDO;
import com.ibeeking.found.msg.service.common.query.WxMpMsgPageQuery;
import com.ibeeking.found.msg.service.common.vo.WxMpMsgVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 微信消息
 *
 * @author JL
 * @date 2019-05-28 16:12:10
 */
public interface WxMpMsgMapper extends BaseMapper<WxMpMsgDO> {

	/**
	 * 获取分组后的消息列表
	 * @param page
	 * @param pageQuery
	 * @return
	 */
	IPage<WxMpMsgVO> listWxMpMsgMapGroup(Page page, @Param("query") WxMpMsgPageQuery pageQuery);

	Page<WxMpMsgVO> pageList(Page page, @Param("quary") WxMpMsgPageQuery pageQuery);
}
